gusucode.com > 支持向量机工具箱 - LIBSVM OSU_SVM LS_SVM源码程序 > 支持向量机工具箱 - LIBSVM OSU_SVM LS_SVM\SVM_SteveGunn\centrefig.m

    function centrefig
s = get(0,'ScreenSize');
f = get(gcf,'position');
f(1) = (s(3)-f(3))/2;
f(2) = (s(4)-(f(4)+20))/2;
set(gcf,'Position',f)